package cn.dlc.com.order.service.impl;

import cn.dlc.com.order.service.TestRuleService;
import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @author 邓立川
 * @date 2020/12/30 17:48
 * @desc 用来测试流控效果为链路的测试类
 */
@Service
public class TestRuleServiceImpl implements TestRuleService {

    // 用来测试流控效果为链路的测试类
    @SentinelResource("servicemethod")
    public String serviceMethod(){

        return "from service...";
    }
}
